clear; clc;
ni = EquipmentControl.NIDAQ.NIUSB6366('dev1');
ni.addInputChannel(0);
ni.setSampling(1e4, 0.1);
ni.startScope;